<include file="public:ucheader"/>
<load href="__TMPL__public/css/account.css" />
<!--样式-->
<load href="__TMPL__public/css/uc/css_b.css" />
<load href="__TMPL__public/css/ucindex.css" /> 

<div class="ucleft">
	<!--用户-->
    <include file="userleft"/>
    <!--用户-->
   
    <br clear="all"/>
</div>
<div class="ucright">
	<div class="ucnav">
 		<ul>
        	<li><a href="{:u('uc/account_commission')}">返现列表</a></li>
            <li><a href="{:u('uc/account_commission',array(status=>no))}">待审核订单</a></li>
            <li><a <php>if(ACTION_NAME == account_cash_details && $_GET['type'] == 1){ echo "class='navon'";}</php> href="{:u('uc/account_cash_details',array(type=>1))}">收入明细</a></li>
            <li><a <php>if(ACTION_NAME == account_cash_details && $_GET['type'] == 2){ echo "class='navon'";}</php> href="{:u('uc/account_cash_details',array(type=>2))}">支出明细</a></li>
            <li><a href="{:u('uc/account_user_tixian')}">提现记录</a></li>
            <li><a href="{:u('uc/account_get_cash')}">我要提现</a></li>
        </ul>    	    
    </div>
    <div class="uccontent">

    <div class="uc_account clearfix"> 
		
        
        <!--右侧-->
        <div class="right_region exchange">
  
        <div class="yhsy_dingd wdst_yh">
                <table cellpadding="0" cellspacing="0">
                    <tr class="dingdbtss">
                        <td class="dingdbt" width="10%"><if condition="$type eq '1' ">收入<else />支出</if>原因</td>
                        <td class="dingdbt" width="10%">时间</td>                        
                        <td class="dingdbt" width="6%">
	                        <if condition="$type eq '1' ">
							   收入	(元)
	    					<else />		
	    					   支出	(元)
	    					</if>
                        </td>
						 <td class="dingdbt" width="8%">
	                        <if condition="$type eq '1' ">
							   收入	<if condition="$cashback_type eq '1'">集分宝
							  <else/>
							 	{$tb_fanxian_name}
							  </if>
	    					<else />		
	    					   支出	<if condition="$cashback_type eq '1'">集分宝
							  <else/>
							 	{$tb_fanxian_name}
							  </if>
	    					</if>
                        </td>
                        <td class="dingdbt" width="12%">剩余(钱/元)</td>
						<td class="dingdbt" width="15%">剩余(<if condition="$cashback_type eq '1'">集分宝
							  <else/>
							 	{$tb_fanxian_name}
							  </if>/{$tb_fanxian_unit})
						</td>
                    </tr>
                    <volist name="details_list" id="val" key='k' >
					<tr class="dingdbtssb">
                        <td width="10%">{$val.info}</td>
                        <td width="15%">{$val.time|date="Y-m-d",###}</td>
                        <td width="15%">
                            <if condition="$type eq '1' ">
								{$val.in_money}
							<else />	
								{$val.out_money}	
							</if>
                        </td>
						 <td width="15%">
                            <if condition="$type eq '1' ">
								{$val.in_jifenbao}
							<else />	
								{$val.out_jifenbao}
							</if>
                        </td>
                        <td width="10%">{$val.after_money}</td>
						<td width="10%">{$val.after_jifenbao}</td>
                    </tr>
				    </volist>
                </table>
				<div class="page_b">{$page}</div>  
            </div>
    </div>
    </div>

        
        
        
        
        
        
        
        
        
        
        
    </div>
</div>
<script type="text/javascript">
$(function(){ 
	$.formValidator.initConfig({formid:"myform",autotip:true,
		onerror:function(msg,obj){
			art.dialog({content:msg,lock:true,width:'200',height:'50'}, 
					   function(){this.close();$(obj).focus();})
			}
	});
		
	$("#passwd").formValidator({onshow:"填写密码",onfocus:"填写6位以上密码"})
		.inputValidator({min:6,onerror:"请填写6位以上密码"});
		
	$("#new_pwd").formValidator({onshow:"填写密码",onfocus:"填写6位以上密码"})
		.inputValidator({min:6,onerror:"请填写6位以上密码"});

	$("#confirm_pwd").formValidator({onshow:"确认密码",onfocus:"确认密码",oncorrect:"填写正确"})
		.inputValidator({min:6,onerror:"请填写6位以上密码"})
		.compareValidator({desid:"new_pwd",operateor:"=",onerror:"两次输入密码不一致"});	
});
</script>
<include file="public:footer"/> 